﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using NightWolf.Sonar;

namespace UnitTest
{
    class Program
    {
        static void Main(string[] args)
        {
            SonarProvider.Initialize(SonardDatabase.MYSQL, "127.0.0.1", "root", "", "arkalia_realm");
            var account = Account.FindFirst<Account>("Username='test'");
            Console.WriteLine(account.Pseudo);
            account.Update();
            
            while (true)
            {
                Console.ReadLine();
            }
        }
    }
}
